package com.example.demo11.pojo;

import java.util.Date;

public class Student {
    private String number;
    private String name;
    private Date birthday;
    private String stuclass;

    public Student() {
    }

    ;

    public Student(String number, String name, Date birthday, String stuclass) {
        this.number = number;
        this.name = name;
        this.birthday = birthday;
        this.stuclass = stuclass;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getStuclass() {
        return stuclass;
    }

    public void setStuclass(String stuclass) {
        this.stuclass = stuclass;
    }

    @Override
    public String toString() {
        return "student{" +
                "number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", birthday=" + birthday +
                ", stuclass='" + stuclass + '\'' +
                '}';
    }
}

